﻿
using System.IO;
namespace TpBaseObjects.Objects {
    public class Beilage {

        #region Members
        #endregion

        #region Constructor

        public Beilage() {
        }

        #endregion

        #region Properties

        public string BeilagenText {
            get;
            set;
        }

        public bool IsChecked {
            get;
            set;
        }

        public string FileName {
            get {
                string ret = "";
                if(this.FullFileName != null && this.FullFileName.Length > 1) {
                    ret = Path.GetFileName(this.FullFileName);
                }
                return ret;
            }
        }

        public string FullFileName {
            get;
            set;
        }

        #endregion

    }
}
